package vip.xiaonuo.core.indexMenu.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import vip.xiaonuo.core.indexMenu.entity.IndexDataDetail;
import vip.xiaonuo.core.indexMenu.entity.MenuIndex;
import vip.xiaonuo.core.indexMenu.entity.MenuIndexAdd;
import vip.xiaonuo.core.indexMenu.entity.MenuIndexShowDto;

import java.util.List;

public interface CompanyIndexService {
    List<MenuIndex> menuIndexGet(String name);

    void menuIndexAdd(MenuIndexAdd menuIndexAdd);

    void menuIndexDel(Integer id);

    PageInfo<IndexDataDetail> getIndexData(int page, int pageSize,Integer id);

    void addData(IndexDataDetail indexDataDetail);

    void updateData(IndexDataDetail indexDataDetail);

    void deleteData(Integer id);

     List<MenuIndexShowDto> getMenuIndexShowDto();

}
